
import request from '@/utils/request'

export default {

  //获取当前赞数
  getGiveLikeNum() {
    return request({
      url: '/itservice/like/getGiveLikeNum',
      method: 'get'
    })
  },

  //增加点赞数
  addGiveLikeNum(likeNum) {
    return request({
      url: `/itservice/like/addGiveLikeNum/${likeNum}`,
      method: 'get'
    })
  },

  // 写入点赞记录
  addRecord() {
    return request({
      url: '/itservice/givelikerecord/addRecord',
      method: 'get'
    })
  }

}
